package com.ym521.simple;

import android.os.Bundle;
import android.widget.EditText;
import android.widget.FrameLayout;
import android.widget.TextView;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;


/**
 * @author Ym
 * E-mail: 2435970206@qq.com
 * createTime:2023/7/24
 * explain:
 * AppCompatActivity
 */
public class MainActivity02 extends AppCompatActivity {


    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
//        EmojiPackHelper.activity(this).install();
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        EditText etInput = findViewById(R.id.etIput);
        FrameLayout flEmoji = findViewById(R.id.flEmoji);
        TextView tvEmoji = findViewById(R.id.tvEmoji);

//        EmojiPackKeyBoard.Builder emoji= EmojiPackKeyBoard.build(this)
//                .setInputView(etInput)
//                .bindView(flEmoji);
//        tvEmoji.setOnClickListener(new View.OnClickListener() {
//            @Override
//            public void onClick(View v) {
//                v.setSelected(!v.isSelected());
//                if (v.isSelected()) {
//                    emoji.show();
//                } else {
//                    emoji.hide();
//                }
//            }
//        });
    }
}
